package simpledb.index.hash;

public class LinearHashParams {
	
	private int level;
	private int next;
	private int expandConstant;
	
	public LinearHashParams() {
		level = 0 ;
		next = 0 ;
		expandConstant = 1;
	}
	
	public LinearHashParams(int level, int next, int expandConstant) {
		
		level = this.level;
		next = this.next;
		expandConstant = this.expandConstant;		
	}
	
	public void setExpandConstant(int expandConstant) {
		this.expandConstant = expandConstant;
	}
	
	public void setLevel(int level) {
		this.level = level;
	}
	
	public void setNext(int next) {
		this.next = next;
	}
	
	public int getExpandConstant() {
		return expandConstant;
	}
	
	public int getLevel() {
		return level;
	}
	
	public int getNext() {
		return next;
	}
	
	

}
